home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_config.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  1.5 KB  |  62 lines

  1. /*****************************************************************************
  2.   FILE           : ui_config.ph
  3.   SHORTNAME      : config.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : Header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer, Universitaet Stuttgart
  10.   DATE           : 1.9.1990
  11.  
  12.   CHANGED BY     : Guenter Mamier
  13.   IDENTIFICATION : @(#)ui_config.ph    1.9 3/2/94
  14.   SCCS VERSION   : 1.9
  15.   LAST CHANGE    : 3/2/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.  
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_CONFIG_DEFINED_
  23. #define _UI_CONFIG_DEFINED_
  24.  
  25.  
  26. /* begin global definition section */
  27.  
  28.  
  29. int  ui_cfg_save (FILE *);
  30. int  ui_cfg_load (FILE *);
  31.  
  32. /* end global definition section */
  33.  
  34.  
  35. /* begin private definition section */
  36.  
  37.  
  38.     /* some macros */
  39. #define retchk(code)     if (code == EOF) return(-1)
  40. #define chkretline(code) if (err != code) return(-lines);
  41. #define chkretline01     if ((err != 0) AND (err != 1)) return(-lines);
  42. #define chkfreeretline(code) if (err != code) { ui_displ_freeItem(listPtr); return(-lines); }
  43. #define CURRENT_FORMAT  6
  44.  
  45. #define chkretline(code) if (err != code) return(-lines);
  46.  
  47.  
  48. static Bool ui_configHas3dSection; 
  49. static char *d3_configStr = "3D-Configuration";
  50. static char *ui_printerConfigStr = "Printer-Configuration";
  51.  
  52.  
  53. /* end private definition section */
  54.  
  55.  
  56. #endif /* _UI_CONFIG_DEFINED_ */
  57.  
  58.  
  59.  
  60. /* end of file */
  61. /* lines: 22 */
  62.